#/bin/bash

if docker ps -a | grep test ; then
	docker rm -f test
fi


if docker images | grep csphere/test ; then
	docker rmi -f csphere/test
fi

docker build -t csphere/test:1.0 .

if docker ps -a | grep test ; then
	docker rm -f test
fi

docker run -d -p 8100:8080 --name test csphere/test:1.0
